﻿using System; 
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gui
{
    public abstract class MenuItem
    {
        private string itemText;
        public string ItemText { get { return itemText; } set { itemText = itemText; } }

        public MenuItem(string menuText)
        {
            itemText = menuText;
        }

        public MenuItem()
        {
            itemText = GetType().ToString();
        }

        public abstract void Execute();
        public override string ToString()
        {
            return ItemText;
        }
    }
}
